﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Routing;
using Customers.Controllers;
using Customers.Views;
using Framework.Modules;
using Microsoft.Practices.Unity;

namespace Customers
{
	public class CustomersModule : BaseModule
	{
		public override void Initialize()
		{
			Contract.Requires(this.Container != null,"Container");

			Container.RegisterType<IController, CustomersController>("customers");
			Container.RegisterType<Index, Index>("customers_index");
		}
	}
}
